package com.github.shuaidd.model.dto;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

/**
 * 描述 条件表达式
 *
 * @author ddshuai
 * @date 2020-08-08 15:39
 **/

@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class ConditionExpressionDTO {

    @XmlAttribute(name = "xsi:type")
    private String type;

    @XmlAttribute(name = "language")
    private String language;

    @XmlValue
    private String value;
}
